from django.urls import path
from .views import *

urlpatterns = [
    path('.html', shopperView, name='shopper'),
    path('login.html',loginView, name='login'),
    path('logout.html', logoutView, name='logout'),
    path('shopcart.html', shopcartView, name='shopcart'),
    # 删除商品API路由
    path('/delete.html', deleteAPI, name='delete'),
    # 支付页面路由
    path('/pays.html', paysView, name='pays'),
    # 支付后的回调
    path('/pay_callback/', payCallbackView, name='pay_callback'),
]